<?php
/**
 * Created by PhpStorm.
 * User: Kyle
 * Date: 2019/7/17
 * Time: 15:17
 */

namespace app\common\model;


use think\Model;

class UserPrice extends Model
{
    protected $pk = 'id';

    public function user(){
        return $this->hasOne('User','user_id','user_id');
    }
}